package handler

import "github.com/kataras/iris"

const (
	FullMark = 0
)

func internalServerError(ctx iris.Context) {
	ctx.StatusCode(iris.StatusInternalServerError)
	ctx.WriteString("Oups something went wrong, try again")
}

func badRequest(ctx iris.Context) {
	ctx.StatusCode(iris.StatusBadRequest)
	ctx.WriteString("badRequest, try again")
}

func notFound(ctx iris.Context) {
	ctx.StatusCode(iris.StatusNotFound)
	ctx.WriteString("badRequest, try again")
}
